<?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
/**
 *
 * (c) 2009 by Mike Walsh
 *
 * @author Mike Walsh <mike_walsh@mindspring.com>
 * @package casl-ambassadors
 * @version $Revision$
 * @lastmodified $Author$
 * @lastmodifiedby $Date$
 *
 */

define('CASLAMBASSADORSDOMAIN', "caslambassadors.org") ;

define('WP_USE_THEMES', false) ;
require(ABSPATH . 'wp-blog-header.php') ;
get_header() ;
?>

<style>
#header, #access {
    display: none;
}

#jumplinks {
    width: 80%;
	margin-left:auto;
	margin-right:auto;
}

#casl-home {
    width: 900px;
	margin-left:auto;
	margin-right:auto;
    overflow: hidden ;
}

#casl-sponsors {
    width: 900px;
	margin-left:auto;
	margin-right:auto;
    overflow: hidden ;
    text-align: center;
}
</style>

<div id="casl-home">
<div style="text-align: center;">
<img src="<?php echo dirname(get_bloginfo('stylesheet_url')) . '/images/CASL_Ambassadors_Logo_700x347.png' ; ?>">
</div>
<table id="jumplinks">
<thead>
</thead>
<tbody>
<tr>
<td style="padding: 25px 25px 0px 25px;">
<ul class="xoxo">
<li class="widget"><h3 class="widgettitle">Girls Teams</h3>
<ul>
<?php
    $teams = array(
	    "u12girls" => "U12 Girls"
       ,"u13girls" => "U13 Girls"
       ,"u14girls" => "U14 Girls"
   ) ;

    foreach ($teams as $key => $value)
    {
        printf("<li><a href=\"http://%s.%s\">%s</a></li>",
           $key, CASLAMBASSADORSDOMAIN, $value) ;
    }
?>
</ul>
</li>
</ul>
</td>
<td style="padding: 25px 25px 0px 25px;">
<ul class="xoxo">
<li class="widget"><h3 class="widgettitle">Boys Teams</h3>
<ul>
<?php
    $teams = array(
        "u12boys" => "U12 Boys"
       ,"u13boys" => "U13 Boys"
       ,"u14boys" => "U14 Boys"
   ) ;

    foreach ($teams as $key => $value)
    {
        printf("<li><a href=\"http://%s.%s\">%s</a></li>",
            $key, CASLAMBASSADORSDOMAIN, $value) ;
    }
?>
</ul>
</li>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
<div id="casl-sponsors">
<h3>The CASL Ambassadors Program is sponsored by:</h3>
<table align="center" cellpadding="5">
<tbody>
<tr>
<td>
<a 
href="http://nwinsurance.nationwide.com/nwinsurance/ad_disclaimer.asp?strVendor=Capital+Area+Soccer+League&strAgentPage=snotherly&strPDSnumber=320010492&AgentName=Alex 
A. Snotherly"><img 
src="http://nwagent.nationwide.com/AgentImages/Snotherly37598.gif" 
border=0></a>
<br>
<a href="http://www.crowdercc.com/">
<img style="padding-top: 10px;" border="0" src="<?php echo dirname(get_bloginfo('stylesheet_url')) . '/images/Crowder_Construction_Co_468x136.png' ; ?>">
</td>
<td valign="top">
<a href="http://www.tac.com">
<img border="0" src="<?php echo dirname(get_bloginfo('stylesheet_url')) . '/images/TACse_Color_174x80.jpg' ; ?>">
</a>
</td>
</tr>
</tbody>
</table>
</div>
<table id="jumplinks">
<thead>
</thead>
<tbody></div>
